<?php
/**
 * @version xtc3 - $Date: 2012-04-03 13:51:12 +0200 (Tue, 03 Apr 2012) $
 * @author Payment Network AG (integration@payment-network.com)
 * @link http://www.payment-network.com/
 *
 * @link http://www.xt-commerce.com
 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; version 2 of the License
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 * USA
 *
 ***********************************************************************************
 * this file contains code based on:
 * (c) 2000 - 2001 The Exchange Project
 * (c) 2001 - 2003 osCommerce, Open Source E-Commerce Solutions
 * (c) 2003	 nextcommerce (account_history_info.php,v 1.17 2003/08/17); www.nextcommerce.org
 * (c) 2003 - 2006 XT-Commerce
 * Released under the GNU General Public License
 ***********************************************************************************
 *
 * $Id: sofort_general.php 3701 2012-04-03 11:51:12Z rotsch $
 *
 */

define('MODULE_PAYMENT_SOFORT_MULTIPAY_STATUS_TITLE', 'Activate sofort.de module');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_STATUS_DESC', 'Activates/deactivates the complete module');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_APIKEY_TITLE', 'Assigned configuration key by Payment Network');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_APIKEY_DESC', 'Assigned configuration key by Payment Network');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_AUTH_TITLE', 'test configuration key');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_AUTH_DESC', '<script src="../callback/sofort/ressources/javascript/testAuth.js"></script>');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_ZONE_TITLE', 'Payment zone');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_ZONE_DESC', 'When a zone is selected, the payment method applies only to this zone.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_REASON_1_TITLE', 'Reason 1');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_REASON_1_DESC', 'For purpose 1 the following options can be selected');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_TEXT_REASON_2_TITLE', 'Reason 2');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_TEXT_REASON_2_DESC', 'For purpose (maximum 27 characters) the following placeholders are replaced:<br /> {{order_id}}<br />{{order_date}}<br />{{customer_id}}<br />{{customer_name}}<br />{{customer_company}}<br />{{customer_email}}');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_TEXT_ERROR_HEADING', 'Following error occurred during the process:');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_TEXT_ERROR_MESSAGE', 'Payment is unfortunately not possible or has been cancelled by the customer. Please select another payment method.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_IMAGE_TITLE', 'Banner or text in the selection of payment methods');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_IMAGE_DESC', 'Displayed Graphics / Text in the selection of payment options');

define('MODULE_PAYMENT_SOFORT_MULTIPAY_CANCELED_ORDER_STATUS_ID_TITLE', 'Order state at aborted payment'); //Bestellstatus bei abgebrochener/erfolgloser Zahlung
define('MODULE_PAYMENT_SOFORT_MULTIPAY_CANCELED_ORDER_STATUS_ID_DESC', 'Order status for orders that were canceled during the checkout process.'); //Bestellstatus bei Bestellungen, die w�hrend des Bestellvorgangs oder im Wizard abgebrochen wurden.
define('MODULE_PAYMENT_SOFORT_MULTIPAY_ORDER_CANCELED', 'The order was canceled.'); //Die Bestellung wurde abgebrochen.

define('MODULE_PAYMENT_SOFORT_STATUS_NOT_CREDITED_YET', 'Order with {{paymentMethodStr}} esuccessfully submitted. Transaction-ID: {{tId}} {{time}}');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_CREDITED_TO_SELLER', 'Payment to the merchant account has been completed.');
define('MODULE_PAYMENT_SOFORT_STATUS_WAIT_FOR_MONEY', 'Waiting for payment. Transaction ID: {{tId}} {{time}}');
define('MODULE_PAYMENT_SOFORT_STATUS_RECEIVED', '{{paymentMethodStr}} - Money received. {{time}}');
define('MODULE_PAYMENT_SOFORT_STATUS_DEFAULT', "{{paymentMethod}} {{status}} {{statusReason}} {{time}}");

define('MODULE_PAYMENT_SOFORT_MULTIPAY_TRANSACTION_ID', 'transaction ID');

define('MODULE_PAYMENT_SOFORT_ERROR_ORDER_NOT_FOUND', "Error: Order not found.\n");
define('MODULE_PAYMENT_SOFORT_SUCCESS_CALLBACK', "Order status successfully updated.");
define('MODULE_PAYMENT_SOFORT_ERROR_UNEXPECTED_STATUS', "Error: Unknown payment status.");
define('MODULE_PAYMENT_SOFORT_ERROR_TERMINATED', 'Script terminated.');

define('MODULE_PAYMENT_SOFORT_MULTIPAY_FORWARDING', 'In a few seconds You will be redirected to Payment Network AG for payment.<br />This process can take up to 30 seconds.');

//definition of error-codes that can resolve by calling the pnag-API
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_0',		'An unknown error occured.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8010',		'The data is incomplete oder incorrect. Please correct or contact the online merchant.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8011',		'Not in the range of valid values.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8012',		'Value must be positive.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8013',		'Only orders in Euro are suppported at the moment. Please correct this and try again.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8017',		'Unknown characters.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8018',		'Maximum number of characters exceeded (max. 27).');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8019',		'The order cannot be completed due to an incorrect e-mail address. Please correct this and try again.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8020',		'The order cannot be completed due to an incorrect telephone number. Please correct this and try again.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8021',		'The county code ist not supported, please contact your merchant.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8022',		'The provided BIC is invalid.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8023',		'The order cannot be completed due to an incorrect BIC (Bank Identifier Code). Please correct this and try again.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8024',		'The order cannot be completed due to an incorrect country code. The delivery / billing address must be in Germany. please correct this and try again.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8029',		'We can only support German accounts. Please correct this or try an alternative method of payment.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8033',		'The total amount is too high. please correct this and try again.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8034',		'The total amount is too low. Please correct this and try again.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8041',		'Value for VAT is incorrect. Valid values: 7,19.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8046',		'The validation of bank account and bank routing number failed.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8047',		'The maximum number of 255 characters has been exceeded.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8051',		'The query contained invalid cart positions. Please correct this or contact the shop owner.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8058',		'Please enter, at least, the account holder and try again.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8062',		'Purchase on account is currently only available for private customers.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_10001', 	'Please complete the fields account number, sort code and account holder in full.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_10002',	'Please accept the privacy policy.');

//check for empty fields failed (code 8010 = 'must not be empty')
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8010.EMAIL_CUSTOMER',				'The e-mail address can not be empty.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8010.PHONE_CUSTOMER',				'The telephone number can not be empty.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8010.INVOICE_ADDRESS.FIRSTNAME',	'The firstname of the invoice address can not be empty.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8010.SHIPPING_ADDRESS.FIRSTNAME',	'The firstname of the shipping address can not be empty.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8010.INVOICE_ADDRESS.LASTNAME',	'The lastname of the invoice address can not be empty.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8010.SHIPPING_ADDRESS.LASTNAME',	'The lastname of the shipping address can not be empty.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8010.INVOICE_ADDRESS.STREET',		'Street and house number must be separated by a space.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8010.SHIPPING_ADDRESS.STREET',		'Street and house number of the shipping address can not be empty.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8010.INVOICE_ADDRESS.STREET_NUMBER',	'Street and house number of the shipping address can not be empty.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8010.SHIPPING_ADDRESS.STREET_NUMBER',	'Street and house number of the shipping address can not be empty.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8010.INVOICE_ADDRESS.ZIPCODE',		'The zipcode of the invoice address can not be empty.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8010.SHIPPING_ADDRESS.ZIPCODE',	'The zipcode of the shipping address can not be empty.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8010.INVOICE_ADDRESS.CITY',		'The city name of the invoice address can not be empty.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8010.SHIPPING_ADDRESS.CITY',		'The city name of the shipping address can not be empty.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8010.INVOICE_ADDRESS.COUNTRY_CODE',	'The country code of the invoice address can not be empty.');
define('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_8010.SHIPPING_ADDRESS.COUNTRY_CODE',	'The country code of the shipping address can not be emtpy.');